﻿using EasyI18n.Api.Infrastructure.DataPersistence.DataEntityBases;
using EasyI18n.Api.Infrastructure.DataPersistence.MongoDb.Entities.Bases;
using MongoDB.Bson;

namespace EasyI18n.Api.Infrastructure.DataPersistence.MongoDb.Entities;

public class Project : IMongoDbEntity, IHasKey<ObjectId>, IHasCreator<ObjectId>, IHasUpdater<ObjectId>, ICanSoftDelete
{
    public Project()
    {
        this.InitPropertyValues();
    }

    public ObjectId Id { get; set; }

    public string Name { get; set; }
    public DateTime CreatedOn { get; set; }
    public DateTime? UpdatedOn { get; set; }
    public bool IsDeleted { get; set; }
    public ObjectId UpdatedBy { get; set; }
    public ObjectId CreatedBy { get; set; }
}